<?php

$config = array(
    "host" => "localhost:3306",
    "user" => "root",
    "password" => "root",
    "dbname" => "danzi",
);
$pd = new PDO("mysql:host=" . $config['host'] . ";dbname=" . $config['dbname'], $config['user'], $config['password']);
$pd->exec("set names utf8");
